package com.ganmiao.server.user.vo;

import com.ganmiao.server.sys.vo.SysMenuVo;
import com.ganmiao.server.sys.vo.SysRoleVo;
import com.ganmiao.server.sys.vo.SysUserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用户登录返回
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户登录返回")
public class UserLonginVo {

    @ApiModelProperty("登录成功token")
    private String token;

    @ApiModelProperty("临时sessionId")
    private String sessionId;

    @ApiModelProperty("管理系统用户信息")
    private SysUserVo loginUser;

    @ApiModelProperty("管理系统当前角色信息")
    private SysRoleVo sysRoleVo;

    @ApiModelProperty("管理系统用户角色信息")
    private List<SysRoleVo> sysRoleVoList;

    @ApiModelProperty("管理系统角色菜单信息")
    private List<SysMenuVo> sysMenuVoList;

    @ApiModelProperty("商城用户信息")
    private MallUserVo mallUser;

//    @ApiModelProperty("骑手用户信息")
//    private RiderLoginVo riderUser;
//
//    @ApiModelProperty("商超集合信息")
//    private List<ShopInfoVo> shopInfoVoList;
}
